<div style='float:right'>
  <a href="#" onclick="jQuery('#users_by_<%=category%>').hide('fold')">[隐藏这个表格]</a>
</div>
<br/>
<table id="conventioners" class="data">
  <thead>
    <tr>
      <th class="name first" colspan="2">
      </th>
      <th>
        <div class="dividers">
          姓名
        </div>
      </th>
      <th>
        <div class="dividers">
          房间/房间电话
        </div>
      </th>
      <th>
        <div class="dividers">
          抵达车次/航班
        </div>
      </th>
      <th>
        <div class="dividers">
          返程车次/航班
        </div>
      </th>
    </tr>
  </thead>
  <tbody id="conventioner_list">
    <% conventioners.each do |conventioner| %>
      <tr class="html_block published">
        <td class="first"/>
        <td></td>
        <td class="name">
          <div class="dividers" colspan="2">
            <%=conventioner.user.name%>
          </div>
        </td>
        <td>
          <div class="dividers">
            <%if conventioner.room%>
              <%=conventioner.room.name%>,电话:<%=conventioner.room.tel%>
            <%else%>
              尚未分配房间
            <%end%>
          </div>
        </td>
        <td>
          <div class="dividers">
            <%if conventioner.arrive%>
              <%=conventioner.arrive.ticket_number%>,时间:<%=conventioner.arrive.occurs_on.strftime("%Y/%m/%d %H:%M:%S")%>
            <%else%>
              尚未安排接站服务
            <%end%>
          </div>
        </td>
        <td>
          <div class="dividers">
            <%if conventioner.revert%>
              <%=conventioner.revert.ticket_number%>,时间:<%=conventioner.revert.occurs_on.strftime("%Y/%m/%d %H:%M:%S")%>
            <%else%>
              尚未安排送站服务
            <%end%>
          </div>
        </td>
      </tr>
    <% end %>
  </tbody>
</table>
<br/>
<div style="float:right">
    <%= will_paginate @conventioners,
      :renderer => 'RemoteLinkRenderer',
      :inner_window => 1,
      :outer_window => 1,
      :prev_label => '上一页',
      :next_label => '下一页'
    %>
</div>
<br/>
<br/>